/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.web.service.configuration;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.web.entity.configuration.YhInterest;
import com.jeeplus.modules.web.mapper.configuration.YhInterestMapper;

/**
 * 兴趣Service
 * @author rongjie
 * @version 2017-08-18
 */
@Service
@Transactional(readOnly = true)
public class YhInterestService extends CrudService<YhInterestMapper, YhInterest> {

	public YhInterest get(String id) {
		return super.get(id);
	}
	
	public List<YhInterest> findList(YhInterest yhInterest) {
		return super.findList(yhInterest);
	}
	
	public Page<YhInterest> findPage(Page<YhInterest> page, YhInterest yhInterest) {
		return super.findPage(page, yhInterest);
	}
	
	@Transactional(readOnly = false)
	public void save(YhInterest yhInterest) {
		super.save(yhInterest);
	}
	
	@Transactional(readOnly = false)
	public void delete(YhInterest yhInterest) {
		super.delete(yhInterest);
	}
	
}